package com.hpe.javawebsocketdemo.controller;

import org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpoint;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@ControllerEndpoint(id="hello")
public class HealthController {

    @GetMapping("/")
    public String hello(){
        return "health";
    }
}
